//
//  GDTableViewCell.m
//  grames
//
//  Created by dllo on 16/7/19.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "GDTableViewCell.h"
#import "Masonry.h"
@implementation GDTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    

    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        [self GDSubcontrol];
    }
    
    return self;
    
}

- (void)GDSubcontrol{
    
    self.title = [[UILabel alloc]init];
    self.title.backgroundColor = [UIColor cyanColor];
    
   [self.title mas_makeConstraints:^(MASConstraintMaker *make) {
      
       make.top.equalTo(self.contentView).offset(20);
       make.left.equalTo(self.contentView).offset(10);
       make.height.offset(17);
       make.width.offset(100);
       
       
   }];
    
    self.imgOwe = [[UIImageView alloc]init];
    self.imgOwe.backgroundColor = [UIColor orangeColor];
    [self.imgOwe mas_makeConstraints:^(MASConstraintMaker *make) {
      
        make.top.equalTo(self.title.mas_bottom).offset(10);
        make.left.equalTo(self.contentView).offset(15);
        make.height.offset(120);
        make.width.offset(120);

        
    }];
    
    self.introOne = [[UILabel alloc]init];
    self.introOne.backgroundColor = [UIColor blueColor];
    [self.introOne mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.top.equalTo(self.imgOwe.mas_bottom).offset(10);
        make.left.equalTo(self.contentView).offset(15);
        make.height.offset(20);
        make.width.offset(120);
        
        
    }];
    

    self.imgTwo = [[UIImageView alloc]init];
    self.imgTwo.backgroundColor = [UIColor blueColor];
    self.imgTwo.
    
    
    
    
}










@end
